﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<script runat="server">

    protected void rbtSiNo_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	DatosPersonales
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Datos Personales</h2>
    <form runat="server" id="frmDatosPersonales">
    <div id="divCabecera">
    
    </div>

    <div id="divCuerpo">
        <asp:Panel runat="server" ID="pnlDatosPersonales">
            <table>
                <tr>
                    <td>Mayor de 18 años: </td>
                    <td valign="middle" colspan="2"><asp:RadioButtonList runat="server" ID="rbtSiNo" 
                            onselectedindexchanged="rbtSiNo_SelectedIndexChanged" Width="120px" >
                        <asp:ListItem>Si</asp:ListItem>
                        <asp:ListItem>No</asp:ListItem>
                        </asp:RadioButtonList></td>
                    
                </tr>

                 <tr>
                    <td>Tipo documento: </td>
                    <td colspan="2"> <label> <select name="int_origen" id="int_origen">
<option label="DNI" value="28">DNI</option>
<option label="Carnet de Extranjería" value="2">Carnet de Extranjería</option>


</select></td>
                    
                </tr>
                <tr>
                    <td>DNI: </td>
                    <td colspan="2"><asp:TextBox runat="server" ID="txtDNI"></asp:TextBox></td>
                    
                </tr>
                 <tr>
                    <td>Apellidos: </td>
                    <td colspan="2"><asp:TextBox runat="server" ID="txtApellidos" Width="200px"></asp:TextBox></td>
                    
                </tr>
                 <tr>
                    <td>Nombres: </td>
                    <td colspan="2"><asp:TextBox runat="server" ID="txtNombres" Width="200px" ></asp:TextBox></td>
                    
                </tr>

                  <tr>
                    <td>Dirección: </td>
                    <td colspan="2"><asp:TextBox runat="server" ID="txtDireccion" TextMode ="MultiLine" Width = "220px" Height="100px"></asp:TextBox></td>
                    
                </tr>
                 <tr>
                    <td>Teléfono: </td>
                    <td colspan="2"><asp:TextBox runat="server" ID="txtTelefono" Width="200px"></asp:TextBox></td>
                    
                </tr>
            </table>
        </asp:Panel>
    </div>
    <div id="divPie">
        <table>
        <tr>
            <td><asp:Button runat="server" ID="btnEnviar" Text="Guardar"/></td>
            <td><input type="reset" value="Limpiar"/></td>
        </tr>
            </table>
    </div>
    </form>

</asp:Content>
